package com.dykj.fireFighting.server.fire.costmanagement.mapper;

import com.dykj.fireFighting.api.fire.costmanagement.entity.CostManagement;
import com.dykj.fireFighting.common.core.mapper.SuperMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description 成本管理
 * @Author LIJIANJIE
 * @Date  2021-08-31 13:52:33
 */
public interface CostManagementMapper extends SuperMapper<CostManagement> {
    /**
     * 根据起始时间查询对应单位数据
     * @param beginTime 开始时间
     * @param endTime 结束时间
     * @param unitId 社会单位id
     * @param wbId 维保单位id
     * @return list
     */
    List<CostManagement> getCount(@Param("beginTime") String beginTime,@Param("endTime") String endTime,
                                  @Param("unitId") Integer unitId,@Param("wbId") Long wbId);
}
